package com.fei.service;

import com.fei.bean.AdminBean;

import java.util.List;

public interface AdminService {

//    用于登录，根据name查询
    public AdminBean selectOneNameService(String name);

//    用于一登录的index页面,查询用户总数，查询歌曲数量，查询歌手数量
    public List<Integer> selectCount();

//    验证名字是否注册过
    public Boolean validateNameService(String name);

//    验证号码是否被验证过
    public Boolean validatePhoneService(String phone);

//    注册
    public int registerAdminService(AdminBean admin);

}
